package com.datang.petstore.mapper;


import com.datang.petstore.model.GetMicroblogCommentListResponse;
import com.datang.petstore.model.GetMicroblogTwoCommentListResponse;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-11-08 16:54
 * @notify 微博评论mapper
 * @version 1.0
 */
public interface MicroblogCommentCustomMapper {

    List<GetMicroblogCommentListResponse> getHotMicroblogCommentList(@Param(value = "microblogiId") Integer microblogiId);

    List<GetMicroblogCommentListResponse> getMicroblogCommentList(@Param(value = "microblogiId") Integer microblogiId,@Param(value = "id") Integer id,@Param(value = "idList") ArrayList idList);

    List<GetMicroblogTwoCommentListResponse> getTwoMicroblogCommentList(@Param(value = "parentId") Integer parentId, @Param(value = "lastId") Integer lastId);
}
